import { createApp } from "vue";
import App from "./App.vue";
import router from "@/router";
import pinia from "./store/store";
import "@/static/css/reset.css";
import "@/static/js/iconfont.js";
import 'animate.css/animate.min.css'
import zhCn from "element-plus/es/locale/lang/zh-cn"//国际化
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
import ElementPlus from "element-plus";
createApp(App).use(pinia).use(router).use(ElementPlus,{locale: zhCn}).mount("#app");
//全局注册图标组件
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
    createApp(App).component(key, component)
}
